package com.kly.sc.api.application.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.HashMap;
import java.util.Map;

@Configuration
@ConfigurationProperties(prefix = "app.configs")
public class UserRightsConfig {
    private Map<String, String> customerService = new HashMap<>();

    private Map<String, String> agreement = new HashMap<>();

    private Map<String, Map<String, String>> appConfig = new HashMap<>();

    public Map<String, Map<String, String>> getAppConfig() {
        return appConfig;
    }

    public void setAppConfig(Map<String, Map<String, String>> appConfig) {
        this.appConfig = appConfig;
    }

    public Map<String, String> getCustomerService() {
        return customerService;
    }

    public void setCustomerService(Map<String, String> customerService) {
        this.customerService = customerService;
    }

    public Map<String, String> getAgreement() {
        return agreement;
    }

    public void setAgreement(Map<String, String> agreement) {
        this.agreement = agreement;
    }
}
